package factory;

public class BeanFactory {

	public static BeanFinder createBean(String beanId) {
		if ("sub".equals(beanId)) {
			return new DaoBean();

		} else
			return null;

	}

}
